import javax.swing.*;

public class IndexVolumeWatch {

    private String inputString;

   public static void main( String args[] )
   {
       String output_string = null;
       IndexVolumeWatch ivw = new IndexVolumeWatch();
       ivw.setInputString("This a message board!");
       output_string = ivw.getInputString();
      JOptionPane.showMessageDialog( null, output_string,
         "Demonstrating String Class Constructors",
         JOptionPane.INFORMATION_MESSAGE );
      System.exit(0);
   }

    public void setInputString(String input_string) {
	inputString = input_string;
    }

    public String getInputString() {
	return inputString;
    }
}

